<template>
	<view>
		<block v-for="(item,index) in takeshop" :key="index">
			<view class="content-view" @click="takEout(item.openid)">
				<view class="content-img">
					<image :src="item.logo" mode="aspectFill"></image>
				</view>
				<view class="content-title">
					<text class="conteng-take">{{item.shop}}</text>
					<view class="conteng-monthly">
						<text>月售200</text>
						<text>约{{item.duration}}分钟</text>
					</view>
					<view class="conteng-starting">
						<text>起送￥{{item.delivering}}</text>
						<text>配送￥{{item.physical}}</text>
						<text>人均￥{{item.capita}}</text>
					</view>
					<view class="conteng-starting">
						<image src="../../../static/shop.png" mode=""></image>
						<text>{{item.types}}</text>
					</view>
				</view>
			</view>
		</block>
	</view>
</template>

<script>
	export default{
		props:{
				'takeshop':Array,
		},
		data(){
			return{
				
			}
		},
		methods:{
			takEout(id){
				console.log(id)
				uni.navigateTo({
					url:'../takeout/takeout?id='+id
				})
			}
		},
		mounted() {
			
		},
	}
</script>

<style scoped lang="less">
	@import '../../../common/meituan.less';
</style>
